#if !defined(_LOWGLOBALS_H_)
#define _LOWGLOBALS_H_

/*
 * Copyright 1986, 1989, 1990, 1995 by Abacus Research and Development, Inc.
 * All rights reserved.
 *
 * $Id: lowglobals.h 63 2004-12-24 18:19:43Z ctm $
 */

extern BOOLEAN force_big_offset;

#define nilhandle_H (*(HIDDEN_Ptr *)(0x00 + ROMlib_offset))
#define trapvectors (*(LONGINT (*)[10])(0x80 + ROMlib_offset))
#define dodusesit_H (*(HIDDEN_Ptr *)(0xE4 + ROMlib_offset))
#define monkeylives (*(INTEGER *)(0x100 + ROMlib_offset))
#define ScrVRes (*(INTEGER *)(0x102 + ROMlib_offset))
#define ScrHRes (*(INTEGER *)(0x104 + ROMlib_offset))
#define ScreenRow (*(INTEGER *)(0x106 + ROMlib_offset))
#define MemTop_H (*(HIDDEN_Ptr *)(0x108 + ROMlib_offset))
#define BufPtr_H (*(HIDDEN_Ptr *)(0x10C + ROMlib_offset))
#define HeapEnd_H (*(HIDDEN_Ptr *)(0x114 + ROMlib_offset))
#define TheZone_H (*(HIDDEN_THz *)(0x118 + ROMlib_offset))
#define UTableBase_H (*(HIDDEN_DCtlHandlePtr *)(0x11C + ROMlib_offset))
#define loadtrap (*(Byte *)(0x12D + ROMlib_offset))
#define CPUFlag (*(Byte *)(0x12F + ROMlib_offset))
#define ApplLimit_H (*(HIDDEN_Ptr *)(0x130 + ROMlib_offset))
#define SysEvtMask (*(INTEGER *)(0x144 + ROMlib_offset))
#define EventQueue (*(QHdr *)(0x14A + ROMlib_offset))
#define RndSeed_L (*(HIDDEN_LONGINT *)(0x156 + ROMlib_offset))
#define SysVersion (*(INTEGER *)(0x15A + ROMlib_offset))
#define SEvtEnb (*(Byte *)(0x15C + ROMlib_offset))
#define VBLQueue (*(QHdr *)(0x160 + ROMlib_offset))
#define Ticks_UL (*(HIDDEN_ULONGINT *)(0x16A + ROMlib_offset))
#define MBState (*(Byte *)(0x172 + ROMlib_offset))
#define KeyMap (*(unsigned char (*)[16])(0x174 + ROMlib_offset))
#define KeyThresh (*(INTEGER *)(0x18E + ROMlib_offset))
#define KeyRepThresh (*(INTEGER *)(0x190 + ROMlib_offset))
#define Lvl1DT_H (*(HIDDEN_ProcPtr (*)[8])(0x192 + ROMlib_offset))
#define hyperlong (*(LONGINT *)(0x1AA + ROMlib_offset))
#define Lvl2DT_H (*(HIDDEN_ProcPtr (*)[8])(0x1B2 + ROMlib_offset))
#define UnitNtryCnt (*(INTEGER *)(0x1D2 + ROMlib_offset))
#define VIA_H (*(HIDDEN_Ptr *)(0x1D4 + ROMlib_offset))
#define SCCRd_H (*(HIDDEN_Ptr *)(0x1D8 + ROMlib_offset))
#define SCCWr_H (*(HIDDEN_Ptr *)(0x1DC + ROMlib_offset))
#define IWM_H (*(HIDDEN_Ptr *)(0x1E0 + ROMlib_offset))
#define Scratch20 (*(Byte (*)[20])(0x1E4 + ROMlib_offset))
#define SPValid (*(Byte *)(0x1F8 + ROMlib_offset))
#define SPATalkA (*(Byte *)(0x1F9 + ROMlib_offset))
#define SPATalkB (*(Byte *)(0x1FA + ROMlib_offset))
#define SPConfig (*(Byte *)(0x1FB + ROMlib_offset))
#define SPPortA (*(INTEGER *)(0x1FC + ROMlib_offset))
#define SPPortB (*(INTEGER *)(0x1FE + ROMlib_offset))
#define SPAlarm (*(LONGINT *)(0x200 + ROMlib_offset))
#define SPFont (*(INTEGER *)(0x204 + ROMlib_offset))
#define SPKbd (*(Byte *)(0x206 + ROMlib_offset))
#define SPPrint (*(Byte *)(0x207 + ROMlib_offset))
#define SPVolCtl (*(Byte *)(0x208 + ROMlib_offset))
#define SPClikCaret (*(Byte *)(0x209 + ROMlib_offset))
#define SPMisc2 (*(Byte *)(0x20B + ROMlib_offset))
#define Time (*(ULONGINT *)(0x20C + ROMlib_offset))
#define BootDrive (*(INTEGER *)(0x210 + ROMlib_offset))
#define SFSaveDisk (*(INTEGER *)(0x214 + ROMlib_offset))
#define KbdLast (*(Byte *)(0x218 + ROMlib_offset))
#define KbdType (*(Byte *)(0x21E + ROMlib_offset))
#define MemErr (*(INTEGER *)(0x220 + ROMlib_offset))
#define SdVolume (*(Byte *)(0x260 + ROMlib_offset))
#define SoundPtr_H (*(HIDDEN_FTSndRecPtr *)(0x262 + ROMlib_offset))
#define SoundBase_H (*(HIDDEN_Ptr *)(0x266 + ROMlib_offset))
#define SoundActive (*(Byte *)(0x27E + ROMlib_offset))
#define SoundLevel (*(Byte *)(0x27F + ROMlib_offset))
#define CurPitch (*(INTEGER *)(0x280 + ROMlib_offset))
#define mathones (*(LONGINT *)(0x282 + ROMlib_offset))
#define ROM85 (*(INTEGER *)(0x28E + ROMlib_offset))
#define PortBUse (*(Byte *)(0x291 + ROMlib_offset))
#define ScreenVars (*(Byte (*)[8])(0x292 + ROMlib_offset))
#define Key1Trans_H (*(HIDDEN_Ptr *)(0x29E + ROMlib_offset))
#define Key2Trans_H (*(HIDDEN_Ptr *)(0x2A2 + ROMlib_offset))
#define SysZone_H (*(HIDDEN_THz *)(0x2A6 + ROMlib_offset))
#define ApplZone_H (*(HIDDEN_THz *)(0x2AA + ROMlib_offset))
#define ROMBase_H (*(HIDDEN_Ptr *)(0x2AE + ROMlib_offset))
#define RAMBase_H (*(HIDDEN_Ptr *)(0x2B2 + ROMlib_offset))
#define AE_info_H (*(HIDDEN_AE_info_ptr *)(0x2B6 + ROMlib_offset))
#define DSAlertTab_H (*(HIDDEN_Ptr *)(0x2BA + ROMlib_offset))
#define ExtStsDT_H (*(HIDDEN_ProcPtr (*)[4])(0x2BE + ROMlib_offset))
#define ABusVars_H (*(HIDDEN_Ptr *)(0x2D8 + ROMlib_offset))
#define ABusDCE_H (*(HIDDEN_Ptr *)(0x2DC + ROMlib_offset))
#define FinderName (*(Byte (*)[16])(0x2E0 + ROMlib_offset))
#define DoubleTime (*(LONGINT *)(0x2F0 + ROMlib_offset))
#define CaretTime (*(LONGINT *)(0x2F4 + ROMlib_offset))
#define ScrDmpEnb (*(Byte *)(0x2F8 + ROMlib_offset))
#define BufTgFNum (*(LONGINT *)(0x2FC + ROMlib_offset))
#define BufTgFFlg (*(INTEGER *)(0x300 + ROMlib_offset))
#define BufTgFBkNum (*(INTEGER *)(0x302 + ROMlib_offset))
#define BufTgDate (*(LONGINT *)(0x304 + ROMlib_offset))
#define DrvQHdr (*(QHdr *)(0x308 + ROMlib_offset))
#define heapcheck_H (*(HIDDEN_Ptr *)(0x316 + ROMlib_offset))
#define Lo3Bytes (*(LONGINT *)(0x31A + ROMlib_offset))
#define MinStack (*(LONGINT *)(0x31E + ROMlib_offset))
#define DefltStack (*(LONGINT *)(0x322 + ROMlib_offset))
#define GZRootHnd_H (*(HIDDEN_Handle *)(0x328 + ROMlib_offset))
#define EjectNotify_H (*(HIDDEN_ProcPtr *)(0x338 + ROMlib_offset))
#define IAZNotify_H (*(HIDDEN_ProcPtr *)(0x33C + ROMlib_offset))
#define FCBSPtr_H (*(HIDDEN_Ptr *)(0x34E + ROMlib_offset))
#define DefVCBPtr_H (*(HIDDEN_VCBPtr *)(0x352 + ROMlib_offset))
#define VCBQHdr (*(QHdr *)(0x356 + ROMlib_offset))
#define FSQHdr (*(QHdr *)(0x360 + ROMlib_offset))
#define WDCBsPtr_H (*(HIDDEN_Ptr *)(0x372 + ROMlib_offset))
#define DefVRefNum (*(INTEGER *)(0x384 + ROMlib_offset))
#define CurDirStore (*(LONGINT *)(0x398 + ROMlib_offset))
#define MCLKPCmiss1 (*(INTEGER *)(0x3A0 + ROMlib_offset))
#define MCLKPCmiss2 (*(INTEGER *)(0x3A6 + ROMlib_offset))
#define ToExtFS_H (*(HIDDEN_Ptr *)(0x3F2 + ROMlib_offset))
#define FSFCBLen (*(INTEGER *)(0x3F6 + ROMlib_offset))
#define DSAlertRect (*(Rect *)(0x3F8 + ROMlib_offset))
#define JADBProc_H (*(HIDDEN_ProcPtr *)(0x6B8 + ROMlib_offset))
#define JFLUSH_H (*(HIDDEN_ProcPtr *)(0x6F4 + ROMlib_offset))
#define JResUnknown1_H (*(HIDDEN_ProcPtr *)(0x700 + ROMlib_offset))
#define JResUnknown2_H (*(HIDDEN_ProcPtr *)(0x714 + ROMlib_offset))
#define JHideCursor_H (*(HIDDEN_ProcPtr *)(0x800 + ROMlib_offset))
#define JShowCursor_H (*(HIDDEN_ProcPtr *)(0x804 + ROMlib_offset))
#define JShieldCursor_H (*(HIDDEN_ProcPtr *)(0x808 + ROMlib_offset))
#define JScrnAddr_H (*(HIDDEN_ProcPtr *)(0x80C + ROMlib_offset))
#define JScrnSize_H (*(HIDDEN_ProcPtr *)(0x810 + ROMlib_offset))
#define JInitCrsr_H (*(HIDDEN_ProcPtr *)(0x814 + ROMlib_offset))
#define JSetCrsr_H (*(HIDDEN_ProcPtr *)(0x818 + ROMlib_offset))
#define JCrsrObscure_H (*(HIDDEN_ProcPtr *)(0x81C + ROMlib_offset))
#define JUpdateProc_H (*(HIDDEN_ProcPtr *)(0x820 + ROMlib_offset))
#define ScrnBase_H (*(HIDDEN_Ptr *)(0x824 + ROMlib_offset))
#define MTemp (*(Point *)(0x828 + ROMlib_offset))
#define MouseLocation (*(Point *)(0x82C + ROMlib_offset))
#define MouseLocation2 (*(Point *)(0x830 + ROMlib_offset))
#define CrsrPin (*(Rect *)(0x834 + ROMlib_offset))
#define MainDevice_H (*(HIDDEN_GDHandle *)(0x8A4 + ROMlib_offset))
#define DeviceList_H (*(HIDDEN_GDHandle *)(0x8A8 + ROMlib_offset))
#define QDColors (*(Byte *)(0x8B0 + ROMlib_offset))
#define CrsrVis (*(BOOLEAN *)(0x8CC + ROMlib_offset))
#define CrsrBusy (*(Byte *)(0x8CD + ROMlib_offset))
#define CrsrState (*(INTEGER *)(0x8D0 + ROMlib_offset))
#define mousemask (*(LONGINT *)(0x8D6 + ROMlib_offset))
#define mouseoffset (*(LONGINT *)(0x8DA + ROMlib_offset))
#define JournalFlag (*(INTEGER *)(0x8DE + ROMlib_offset))
#define JSwapFont_H (*(HIDDEN_ProcPtr *)(0x8E0 + ROMlib_offset))
#define WidthListHand_H (*(HIDDEN_Handle *)(0x8E4 + ROMlib_offset))
#define JournalRef (*(INTEGER *)(0x8E8 + ROMlib_offset))
#define CrsrThresh (*(INTEGER *)(0x8EC + ROMlib_offset))
#define JCrsrTask_H (*(HIDDEN_ProcPtr *)(0x8EE + ROMlib_offset))
#define WWExist (*(Byte *)(0x8F2 + ROMlib_offset))
#define QDExist (*(Byte *)(0x8F3 + ROMlib_offset))
#define JFetch_H (*(HIDDEN_Ptr *)(0x8F4 + ROMlib_offset))
#define JStash_H (*(HIDDEN_Ptr *)(0x8F8 + ROMlib_offset))
#define JIODone_H (*(HIDDEN_Ptr *)(0x8FC + ROMlib_offset))
#define CurApRefNum (*(INTEGER *)(0x900 + ROMlib_offset))
#define CurrentA5_H (*(HIDDEN_Ptr *)(0x904 + ROMlib_offset))
#define CurStackBase_H (*(HIDDEN_Ptr *)(0x908 + ROMlib_offset))
#define CurApName (*(Byte (*)[34])(0x910 + ROMlib_offset))
#define CurJTOffset (*(INTEGER *)(0x934 + ROMlib_offset))
#define CurPageOption (*(INTEGER *)(0x936 + ROMlib_offset))
#define HiliteMode (*(Byte *)(0x938 + ROMlib_offset))
#define PrintErr (*(INTEGER *)(0x944 + ROMlib_offset))
#define graphlooksat (*(INTEGER *)(0x952 + ROMlib_offset))
#define macwritespace (*(LONGINT *)(0x954 + ROMlib_offset))
#define ScrapSize (*(LONGINT *)(0x960 + ROMlib_offset))
#define ScrapHandle_H (*(HIDDEN_Handle *)(0x964 + ROMlib_offset))
#define ScrapCount (*(INTEGER *)(0x968 + ROMlib_offset))
#define ScrapState (*(INTEGER *)(0x96A + ROMlib_offset))
#define ScrapName_H (*(HIDDEN_StringPtr *)(0x96C + ROMlib_offset))
#define ROMFont0_H (*(HIDDEN_Handle *)(0x980 + ROMlib_offset))
#define ApFontID (*(INTEGER *)(0x984 + ROMlib_offset))
#define ROMlib_myfmi (*(FMInput *)(0x988 + ROMlib_offset))
#define ROMlib_fmo (*(FMOutput *)(0x998 + ROMlib_offset))
#define ToolScratch (*(Byte (*)[8])(0x9CE + ROMlib_offset))
#define WindowList_H (*(HIDDEN_WindowPeek *)(0x9D6 + ROMlib_offset))
#define SaveUpdate (*(INTEGER *)(0x9DA + ROMlib_offset))
#define PaintWhite (*(INTEGER *)(0x9DC + ROMlib_offset))
#define WMgrPort_H (*(HIDDEN_GrafPtr *)(0x9DE + ROMlib_offset))
#define OldStructure_H (*(HIDDEN_RgnHandle *)(0x9E6 + ROMlib_offset))
#define OldContent_H (*(HIDDEN_RgnHandle *)(0x9EA + ROMlib_offset))
#define GrayRgn_H (*(HIDDEN_RgnHandle *)(0x9EE + ROMlib_offset))
#define SaveVisRgn_H (*(HIDDEN_RgnHandle *)(0x9F2 + ROMlib_offset))
#define DragHook_H (*(HIDDEN_ProcPtr *)(0x9F6 + ROMlib_offset))
#define Scratch8 (*(Byte (*)[8])(0x9FA + ROMlib_offset))
#define OneOne (*(LONGINT *)(0xA02 + ROMlib_offset))
#define MinusOne (*(LONGINT *)(0xA06 + ROMlib_offset))
#define TopMenuItem (*(INTEGER *)(0xA0A + ROMlib_offset))
#define AtMenuBottom (*(INTEGER *)(0xA0C + ROMlib_offset))
#define MenuList_H (*(HIDDEN_Handle *)(0xA1C + ROMlib_offset))
#define MBarEnable (*(INTEGER *)(0xA20 + ROMlib_offset))
#define MenuFlash (*(INTEGER *)(0xA24 + ROMlib_offset))
#define TheMenu (*(INTEGER *)(0xA26 + ROMlib_offset))
#define MBarHook_H (*(HIDDEN_ProcPtr *)(0xA2C + ROMlib_offset))
#define MenuHook_H (*(HIDDEN_ProcPtr *)(0xA30 + ROMlib_offset))
#define DragPattern (*(Pattern *)(0xA34 + ROMlib_offset))
#define DeskPattern (*(Pattern *)(0xA3C + ROMlib_offset))
#define macfpstate (*(Byte (*)[6])(0xA4A + ROMlib_offset))
#define TopMapHndl_H (*(HIDDEN_Handle *)(0xA50 + ROMlib_offset))
#define SysMapHndl_H (*(HIDDEN_Handle *)(0xA54 + ROMlib_offset))
#define SysMap (*(INTEGER *)(0xA58 + ROMlib_offset))
#define CurMap (*(INTEGER *)(0xA5A + ROMlib_offset))
#define resreadonly (*(INTEGER *)(0xA5C + ROMlib_offset))
#define ResLoad (*(BOOLEAN *)(0xA5E + ROMlib_offset))
#define ResErr (*(INTEGER *)(0xA60 + ROMlib_offset))
#define FScaleDisable (*(Byte *)(0xA63 + ROMlib_offset))
#define CurActivate_H (*(HIDDEN_WindowPtr *)(0xA64 + ROMlib_offset))
#define CurDeactive_H (*(HIDDEN_WindowPtr *)(0xA68 + ROMlib_offset))
#define DeskHook_H (*(HIDDEN_ProcPtr *)(0xA6C + ROMlib_offset))
#define TEDoText_H (*(HIDDEN_ProcPtr *)(0xA70 + ROMlib_offset))
#define TERecal_H (*(HIDDEN_ProcPtr *)(0xA74 + ROMlib_offset))
#define ApplScratch (*(Byte (*)[12])(0xA78 + ROMlib_offset))
#define GhostWindow_H (*(HIDDEN_WindowPtr *)(0xA84 + ROMlib_offset))
#define ResumeProc_H (*(HIDDEN_ProcPtr *)(0xA8C + ROMlib_offset))
#define ANumber (*(INTEGER *)(0xA98 + ROMlib_offset))
#define ACount (*(INTEGER *)(0xA9A + ROMlib_offset))
#define DABeeper_H (*(HIDDEN_ProcPtr *)(0xA9C + ROMlib_offset))
#define DAStrings_H (*(HIDDEN_Handle (*)[4])(0xAA0 + ROMlib_offset))
#define TEScrpLength (*(INTEGER *)(0xAB0 + ROMlib_offset))
#define TEScrpHandle_H (*(HIDDEN_Handle *)(0xAB4 + ROMlib_offset))
#define AppPacks_H (*(HIDDEN_Handle (*)[8])(0xAB8 + ROMlib_offset))
#define SysResName (*(Byte (*)[20])(0xAD8 + ROMlib_offset))
#define AppParmHandle_H (*(HIDDEN_Handle *)(0xAEC + ROMlib_offset))
#define DSErrCode (*(INTEGER *)(0xAF0 + ROMlib_offset))
#define ResErrProc_H (*(HIDDEN_ProcPtr *)(0xAF2 + ROMlib_offset))
#define DlgFont (*(INTEGER *)(0xAFA + ROMlib_offset))
#define WidthPtr_H (*(HIDDEN_WidthTablePtr *)(0xB10 + ROMlib_offset))
#define SCSIFlags (*(INTEGER *)(0xB22 + ROMlib_offset))
#define WidthTabHandle_H (*(HIDDEN_WidthTableHandle *)(0xB2A + ROMlib_offset))
#define LastSPExtra (*(LONGINT *)(0xB4C + ROMlib_offset))
#define MenuDisable (*(LONGINT *)(0xB54 + ROMlib_offset))
#define MBDFHndl_H (*(HIDDEN_Handle *)(0xB58 + ROMlib_offset))
#define MBSaveLoc_H (*(HIDDEN_Handle *)(0xB5C + ROMlib_offset))
#define RomMapInsert (*(Byte *)(0xB9E + ROMlib_offset))
#define TmpResLoad (*(Byte *)(0xB9F + ROMlib_offset))
#define IntlSpec (*(LONGINT *)(0xBA0 + ROMlib_offset))
#define SysFontFam (*(INTEGER *)(0xBA6 + ROMlib_offset))
#define SysFontSiz (*(INTEGER *)(0xBA8 + ROMlib_offset))
#define MBarHeight (*(INTEGER *)(0xBAA + ROMlib_offset))
#define TESysJust (*(INTEGER *)(0xBAC + ROMlib_offset))
#define LastFOND_H (*(HIDDEN_FamRecHandle *)(0xBC2 + ROMlib_offset))
#define fondid (*(INTEGER *)(0xBC6 + ROMlib_offset))
#define FractEnable (*(Byte *)(0xBF4 + ROMlib_offset))
#define MMUType (*(Byte *)(0xCB1 + ROMlib_offset))
#define MMU32Bit (*(Byte *)(0xCB2 + ROMlib_offset))
#define TheGDevice_H (*(HIDDEN_GDHandle *)(0xCC8 + ROMlib_offset))
#define AuxWinHead_H (*(HIDDEN_AuxWinHandle *)(0xCD0 + ROMlib_offset))
#define AuxCtlHead_H (*(HIDDEN_AuxCtlHandle *)(0xCD4 + ROMlib_offset))
#define DeskCPat_H (*(HIDDEN_PixPatHandle *)(0xCD8 + ROMlib_offset))
#define TimeDBRA (*(INTEGER *)(0xD00 + ROMlib_offset))
#define TimeSCCDB (*(INTEGER *)(0xD02 + ROMlib_offset))
#define JVBLTask_H (*(HIDDEN_ProcPtr *)(0xD28 + ROMlib_offset))
#define WMgrCPort_H (*(HIDDEN_CGrafPtr *)(0xD2C + ROMlib_offset))
#define SynListHandle_H (*(HIDDEN_Handle *)(0xD32 + ROMlib_offset))
#define MenuCInfo_H (*(HIDDEN_MCTableHandle *)(0xD50 + ROMlib_offset))
#define DTQueue (*(QHdr *)(0xD92 + ROMlib_offset))
#define JDTInstall_H (*(HIDDEN_ProcPtr *)(0xD9C + ROMlib_offset))
#define HiliteRGB (*(RGBColor *)(0xDA0 + ROMlib_offset))
#define TimeSCSIDB (*(INTEGER *)(0xDA6 + ROMlib_offset))
#define lastlowglobal (*(LONGINT *)(0x2000 + ROMlib_offset))

#endif
